<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta name="color-scheme" content="dark light" />
    <title>Text Fragments Polyfill</title>
    <style>
      body {
        font-family: system-ui, sans-serif;
      }
      a {
        color: red;
      }
    </style>
    <script type="module">
      location.hash =
        ':~:text=This%20domain,examples&text=in%20literature&text=More%20information...';
      if (
        !('fragmentDirective' in Location.prototype) &&
        !('fragmentDirective' in document)
      ) {
        import('../src/text-fragments.js');
      }
    </script>
  </head>
  <body>
    <div>
      <h1>Example Domain</h1>
      <p>
        This domain is for use in illustrative examples in documents. You may
        use this domain in literature without prior coordination or asking for
        permission.
      </p>
      <p>
        <a href="https://www.iana.org/domains/example">More information...</a>
      </p>
    </div>
  </body>
</html>
